package be.nepherte.movmanager.client.ui;

import com.google.gwt.user.client.ui.Label;

import be.nepherte.movmanager.client.MovManager;
import be.nepherte.movmanager.client.ui.tabframework.Tab;

/**
 * This class represents the Info tab of MovManager. This page gives some
 * general information about MovManager.
 * 
 * <p>
 * Copyright © 2010 Bart Verhoeven
 * </p>
 * 
 * <p>
 * This file is part of MovManager.
 * </p>
 * 
 * <p>
 * MovManager is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 * </p>
 * 
 * <p>
 * MovManager is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 * </p>
 * 
 * <p>
 * You should have received a copy of the GNU General Public License along with
 * MovManager. If not, see http://www.gnu.org/licenses/.
 * </p>
 * 
 * @author 	Bart Verhoeven
 * @version	0.1
 */
public class InfoTab extends Tab {

	 /**
     * Create, initialize and return InfoTab.
     */
	public static TabInfo init() {		
		return new TabInfo(MovManager.constants.infoTabName(), MovManager.constants.infoTabDescription(), MovManager.constants.infoTabColor()) {

			@Override
			public Tab createInstance() {
				return new InfoTab();
			}
		};
	}
	
	/**
	 * Constructor for InfoTab. To create an object of this class, use
	 * {@link #init()}.
	 */
	private InfoTab() {
		super();
		initWidget(new Label());
	}
	
	@Override
	public void onHide() {}

	@Override
	public void onShow() {}
}
